﻿using System.ComponentModel;

namespace AMM.Business {
    /// <summary>
    /// 权限
    /// </summary>
    public enum Powers {
        [Description("浏览")]
        Browse = 1,
        [Description("新增")]
        Add = 2,
        [Description("修改")]
        Amend = 4,
        [Description("删除")]
        Delete = 8,
        [Description("审核")]
        Audit = 16,
        [Description("搜索")]
        Search = 32,
        [Description("打印")]
        Print = 64,
        [Description("复制")]
        Copy = 128,
        [Description("完成")]
        Complete = 256,
        [Description("导出")]
        Export = 512,
        [Description("导入")]
        Import = 1024
    }
    /// <summary>
    /// 基本资料
    /// </summary>
    public enum BasicsType {
        [Description("货币")]
        Currency = 100,
        [Description("仓库类型")]
        StoreType = 200,
        [Description("支付方式")]
        PaymentType = 400,
        [Description("成品分类")]
        ProductType = 500,
        [Description("单位")]
        UnitType = 600,
        [Description("物料分类")]
        MaterialType = 700,
        [Description("物料来源")]
        MaterialSource = 800,
        [Description("供应商状态")]
        VendorStatus = 900,
        [Description("供应商属性")]
        VendorType = 1000,
        [Description("模具类别")]
        MouldType = 1100,
        [Description("模穴状态")]
        MouldHoleStatus = 1300,
        [Description("生产指令单类型")]
        ProduceConductType = 1200,
        [Description("采购单来源")]
        ProcurementSourceType = 1400,
        [Description("物料入库类型")]
        MaterialInStoreType = 1500,
        [Description("物料出库类型")]
        MaterialOutStoreType = 1600,
        [Description("成品入库类型")]
        ProductInStoreType = 1700,
        [Description("成品出库类型")]
        ProductOutStoreType = 1800,
        [Description("领料单位")]
        ProduceUnit = 1900,
        [Description("财务帐户类别")]
        FinancialAccountType = 2000,
        [Description("财务收入项目")]
        FinancialIncomeItem = 2100,
        [Description("财务开支项目")]
        FinancialCostItem = 2200,
        [Description("订单类型")]
        OrderType = 2300
    }

    public enum AuditStatus {
        [Description("新订单")]
        New = 0,
        [Description("待审核")]
        Waiting = 1,
        [Description("已审核")]
        Audited = 2
    }
}
